package com.ld.poetry.aigc.iflycode.gclu.codegenerate;

import java.math.BigDecimal;
import java.util.Date;

public class Security {
    private int securityID;
    private String securityName;
    private Date tradingDate;
    private int csrcIndustryTypeID;
    private BigDecimal tradingPrice;

    // 构造方法
    public Security(int securityID, String securityName, Date tradingDate, int csrcIndustryTypeID, BigDecimal tradingPrice) {
        this.securityID = securityID;
        this.securityName = securityName;
        this.tradingDate = tradingDate;
        this.csrcIndustryTypeID = csrcIndustryTypeID;
        this.tradingPrice = tradingPrice;
    }

    // getter和setter方法
    public int getSecurityID() {
        return securityID;
    }

    public void setSecurityID(int securityID) {
        this.securityID = securityID;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public Date getTradingDate() {
        return tradingDate;
    }

    public void setTradingDate(Date tradingDate) {
        this.tradingDate = tradingDate;
    }

    public int getCsrcIndustryTypeID() {
        return csrcIndustryTypeID;
    }

    public void setCsrcIndustryTypeID(int csrcIndustryTypeID) {
        this.csrcIndustryTypeID = csrcIndustryTypeID;
    }

    public BigDecimal getTradingPrice() {
        return tradingPrice;
    }

    public void setTradingPrice(BigDecimal tradingPrice) {
        this.tradingPrice = tradingPrice;
    }
}